﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace AutoMapperApp.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class ClassesController : ControllerBase
    {
        [HttpGet]
        public IActionResult Get()
        {

            var data = new
            {
                id = 1,
                ClassName = "2011"
            };

            return Ok(data);
        }
    }
}
